from pydantic import BaseModel
class StudentSchema(BaseModel):
    id: int
    name: str
    gender: str
    clas_id: int
    model_config = {'from_attributes': True}


class StudentCreate(BaseModel):
    name: str
    gender: str
    clas_id: int